

using System;
using System.Collections.Generic;
using System.Text;
using DataAccessLayer;
using EntityLayer;
using DataLayer;
using System.Data;
using InfraStructureLayer;

namespace BusinessLayer
{
	public class busErrorMessageMultilanguageSettings:BusinessBase
	{
		public busErrorMessageMultilanguageSettings() : base()
		{
		}
       #region  Code Factory Generated Methods

        public DataTable SelectErrorMessageMultilanguageSettings()
        {
            try
            {
                datErrorMessageMultilanguageSettings insDatErrorMessageMultilanguageSettings = new datErrorMessageMultilanguageSettings();
                DbConnector insDbConnector = new DbConnector();
                return insDatErrorMessageMultilanguageSettings.SelectErrorMessageMultilanguageSettings(insDbConnector);
            }
            catch (SFException ex)
            {
                this.ErrorMessage = ex.Message;
            }
            return null;
        }

		
#endregion

        public DataTable SelectErrorMessageMultilanguageSettingsByErrorMessageId(entErrorMessageMultilanguageSettings parEntErrorMessageMultilanguageSettings)
        {
            try
            {
                datErrorMessageMultilanguageSettings insDatErrorMessageMultilanguageSettings = new datErrorMessageMultilanguageSettings();
                DbConnector insDbConnector = new DbConnector();
                return insDatErrorMessageMultilanguageSettings.SelectErrorMessageMultilanguageSettingsByErrorMessageId(parEntErrorMessageMultilanguageSettings, insDbConnector);
            }
            catch (SFException ex)
            {
                this.ErrorMessage = ex.Message;
            }
            return null;
        }
	}
}